<?php

class Silk_Zgb_Block_Renderer_Url extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
{
    /**
     * @param Varien_Object $row
     * @return mixed
     */
    public function render(Varien_Object $row)
    {
        $shippingId = $row->getId();
        //$data =  $row->getData();
        //add by wanglin start 运单分拣完成已锁定
        $addflag = $this->getRequest()->getParam('addflag');
        return "<a href='" . $this->getUrl('admin_tms/adminhtml_shipping/updateshipping', array('shipping_id' => $shippingId,'addflag'=>$addflag)) . "'>加入该订单</a>";
        //add by wanglin end

        //return "<a href='" . $this->getUrl('admin_tms/adminhtml_shipping/updateshipping', array('shipping_id' => $shippingId)) . "'>加入该订单</a>";

    }
}